#pragma once
#ifndef BRICK_SERVER_H
#define BRICK_SERVER_H

#include "epooldemo.h"

class BrickServer
{
public:
	enum
	{
		MAX_SIZE = 2,
	};

	struct stThreadParam
	{
		BrickServer * pthis;
		unsigned fd;
	};

	BrickServer();

	int CreateServer();

	static void * ProcessConnect(void * arg);

private:
	pthread_mutex_t client_mutex;

};

#endif  //BRICK_SERVER_H
